'use strict'
"use strict";
const merge = require("webpack-merge");
const prodEnv = require("./prod.env");
const argv = process.argv[2];
let baseUrl = "";
switch (argv) {
  case "test":
    baseUrl = "http:127.0.0.1:8088/";
    break;
  case "prod":
    baseUrl = "http:127.0.0.1:8089/";
    break;
  default:
    baseUrl = "http:127.0.0.1:8088/";
    break
}
console.log('baseUrl',baseUrl)
module.exports = merge(prodEnv, {
  NODE_ENV: '"production"',
  baseUrl
});
